package com.gitee.cui.springcloud.account.service;

import java.math.BigDecimal;

/**
 * TODO
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022-03-26 16:05
 **/
public interface AccountService {

	/**
	 * 减账户余额
	 * @param userId 用户id
	 * @param money 减少余额
	 */
	void decrease(Long userId, BigDecimal money);
}
